projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afa0467
)
(insert-register): Use insert-for-yank.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 19 Apr 2002 00:23:18 +0000
(
00:23
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 19 Apr 2002 00:23:18 +0000
(
00:23
+0000)
(describe-register-1): Discard text props in yank-excluded-properties.
lisp/register.el
patch
|
blob
|
history
diff --git
a/lisp/register.el
b/lisp/register.el
index c93d52c9f9bee2a636116cfaea94895a5531de67..98adce7ae86fdcb7e96cf288fda69da67c4e4bfb 100644
(file)
--- a/
lisp/register.el
+++ b/
lisp/register.el
@@
-230,6
+230,9
@@
The Lisp value REGISTER is a character."
(princ (car val))))
((stringp val)
+ (setq val
+ (remove-list-of-text-properties 0 (length val)
+ yank-excluded-properties val))
(if verbose
(progn
(princ "the text:\n")
@@
-253,7
+256,7
@@
Interactively, second arg is non-nil if prefix arg is supplied."
((consp val)
(insert-rectangle val))
((stringp val)
- (insert val))
+ (insert
-for-yank
val))
((numberp val)
(princ val (current-buffer)))
((and (markerp val) (marker-position val))